﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<PagedList<CourseSystem.Core.Entities.CommonResourcesInfo>>" %>
<%@ Import Namespace="CourseSystem.Common.Helpers" %>
<%@ Import Namespace="Webdiyer.WebControls.Mvc" %>
<table width="222" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td height="37" background="<%=ResolveUrl("~/Content/images/3_24.jpg") %>">
        </td>
    </tr>
    <tr>
        <td height="240" align="center" valign="top" background="<%=ResolveUrl("~/Content/images/3_20.jpg") %>">
            <table width="200" height="10" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                    </td>
                </tr>
            </table>
            <% 
                foreach (var item in Model)
                {%>
            <table width="200" height="24" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="24" class="style6">
                        <img src="<%= ResolveUrl("~/Content/images/marker_squared_new.png") %>" width="16"
                            height="16">
                    </td>
                    <td width="152" class="style2">
                        <div align="left" >
                            <%=Html.ActionLink(item.Title,"View","Resources",new{item.Id},new{@class="black"}) %>
                        </div>
                    </td>
                    <td width="2" class="style2">
                        
                    </td>
                </tr>
            </table>
            <table width="216" height="1" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="17">
                    </td>
                    <td width="184" background="<%= ResolveUrl("~/Content/images/3.gif") %>">
                    </td>
                    <td width="15">
                    </td>
                </tr>
            </table>
            <% } %>
        </td>
    </tr>
    <tr>
        <td height="20" align="right" background="<%=ResolveUrl("~/Content/images/3_20.jpg") %>">
            <table width="55" height="20" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td>
                        <div align="left">
                            <span class="style2"><a href="<%=Url.Action("Index","Resources",new{type=1}) %>">更多...</a></span></div>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td height="9" background="<%=ResolveUrl("~/Content/images/3_22.jpg") %>">
        </td>
    </tr>
</table>